<%@ page language="java" isELIgnored="false" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>文件上传</title>
<%@ include file="/common/liger_ui.jsp" %>
<script type="text/javascript">

</script>
<style type="text/css">
<!--
.STYLE1 {
	color: #990000;
	font-weight: bold;
}
-->
</style>
</head>
<script type="text/javascript">

	/* function sub(){
		$("#proxyForm").submit();
		parent.$('#proxyDialog').dialog('close');
	} */
	$(function (){ 
		////alert('${message}'+"==222");
		if("${message}"!=""&&'${message}'!="1"){
			if('${message}'=='OK'){
				$.ligerDialog.error('上传成功!');
			} else{
				$.ligerDialog.error('上传失败!格式如下:<br>115.236.98.101:80<br>121.14.9.76:80');
			} 
		}
	});
</script>
<body>
<form id="proxyForm" action="<%=request.getContextPath() %>/proxyAction!uploadFile.action" method="post" enctype="multipart/form-data">
<TABLE cellSpacing=1 cellPadding=3 width="100%" border=0 class="tabg">
  <TBODY>
  <TR class="tr1">
    <TD colspan="2">上传代理IP</TD>
    </TR>

  <TR class="tab">
    <TD height="26" class="td1" style="text-align:left" width="25%">文件：</TD>
    <TD>
    	<input name="file" type="file" id="file" value="" style="width: 100px;">
    </TD>
  </TR>
  <TR class="tab">
    <TD height="26" align=center colspan="2">
      <input type="submit" name="Submit3" value="上传" onclike="sub()" style="width:80px;">
      <!-- 
       <input type="submit" name="Submit3" value="关闭" id="shutdown" style="width:80px;">
       
        -->
        <input type="hidden" id="meg" value="${message}"> 
    </TD>
  </TR>
</TBODY>
</TABLE>
</form>

</body>
</html>

